package com.litesuits.sdk;

import android.app.Application;
import com.litesuits.android.log.Log;

/**
 * @author MaTianyu on 2015-05-05
 */
public class LiteApp extends Application {
    private static final String TAG = LiteApp.class.getSimpleName();
    protected static LiteApp instance;

    public static synchronized LiteApp getInstance(){
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Log.i(TAG, "LiteApp create ___________________________.");
    }

    @Override
    public void onLowMemory() {
        super.onLowMemory();
        Log.w(TAG, "LiteApp low memory ___________________________.");
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        Log.w(TAG, "LiteApp terminate ___________________________.");
    }

}
